package com.candy.niuniu.logdubbo;

import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

/**
 * @author suYanLong
 * @version 1.0
 * @date 2023/10/12 14:27
 * @Description 描述
 */
@Component
public class Task implements CommandLineRunner {

    @DubboReference(providedBy = "candy-message", check = false)
    MessageService messageService;

    @Override
    public void run(String... args) throws Exception {
//        System.out.println(messageService.test5("logDubbo"));
    }

}
